package com.vhuomai.wechat.service;

import com.vhuomai.wechat.constant.TemplateCode;
import com.vhuomai.wechat.entity.BaseWxTemplate;

import java.util.List;

/**
 * @author harris
 */
public interface WxTemplateService {
    
    List<BaseWxTemplate> findAll();
    
    BaseWxTemplate findByCode(TemplateCode code);
    
    BaseWxTemplate add(BaseWxTemplate template);
    
    void update(BaseWxTemplate template);
    
    void remove(int id);
}
